package com.cmj.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cmj.domain.entity.RoleMenu;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {

    @Insert("insert into sys_role_menu (role_id,menu_id) values (#{roleId},#{menuId})")
    int insertRoleMenu(RoleMenu roleMenu);

}